package com.dragon.mmochat.message;

import com.dragon.mmochat.MmochatConstant;
import com.skymobi.buffer.SkymobiBuffer;
import com.skymobi.message.SkymobiProtocolMessage;

public class Mmochat_13_10C extends SkymobiProtocolMessage {
	int hallState;
	int version;
	int roleId;
	int num;
	int objTypeValue;
	int objKey;
	int equipLevel;

	public Mmochat_13_10C() {
		setMsgCode(MmochatConstant.MSGCODE_MMOCHAT_C_13_10);
	}

	@Override
	protected void decodeBody(SkymobiBuffer in) {
		hallState = in.getUnsignedShort();
		version = in.getInt();
		roleId = in.getInt();
		num = in.getInt();
		objTypeValue = in.getInt();
		objKey = in.getInt();
		equipLevel = in.getInt();
	}

	public int getHallState() {
		return hallState;
	}

	public int getRoleId() {
		return roleId;
	}

	public int getVersion() {
		return version;
	}

	public int getNum() {
		return num;
	}

	public int getObjTypeValue() {
		return objTypeValue;
	}

	public int getObjKey() {
		return objKey;
	}

	public int getEquipLevel() {
		return equipLevel;
	}

}